import { request } from '@/utils/request'

// 变量命名相关接口
export const httpApi = {
  // 获取变量命名建议
  getSuggestions(params) {
    return request.post('/translate', {
      description: params.desc
    })
  },
  
  // 测试接口
  test() {
    return request.post('/test')
  }
} 